/**系统管理
 * Auth login 验证登录 roles 验证登录且验证权限
 * **/
import Layout from '@/views/layout/Layout'
import itReportLayout from '@/views/layout/itReportLayout'
const safetyQueryRouter = {
    path: '/safetyQuery',
    component: Layout,
    // redirect: '/safetyQuery/index',
    name: 'safetyQuery',
    meta: {
        parent: "safetyQuery",
        title: "安全查询",
        Auth: 'login'
    },
    children: [{
            path: '/safetyQuery/lateRecord',
            component: () =>
                import ('@/views/safetyQuery/lateRecord/index'),
            name: 'building',
            meta: {
                title: '晚归记录',
                icon: "wgjl",
                desc: "晚归记录",
                Auth: "070100"
            }
        },
        {
            path: '/safetyQuery/lateNightRecord',
            component: () =>
                import ('@/views/safetyQuery/lateNightRecord/index'),
            name: 'building',
            meta: {
                title: '晚出记录',
                icon: "wgjl",
                desc: "晚归记录",
                Auth: "070900"
            }
        },
        {
            path: '/safetyQuery/notBackRecord',
            component: () =>
                import ('@/views/safetyQuery/notBackRecord/index'),
            name: 'building',
            meta: {
                title: '未归记录',
                icon: "wgjl",
                desc: "未归记录",
                Auth: "070200"
            }
        },
        {
            path: '/safetyQuery/notOutRecord',
            component: () =>
                import ('@/views/safetyQuery/notOutRecord/index'),
            name: 'building',
            meta: {
                title: '未出预警',
                icon: "wcyj",
                desc: "未出预警",
                Auth: "070300"
            }
        },
        {
            path: '/safetyQuery/notInRecord',
            component: () =>
                import ('@/views/safetyQuery/notInRecord/index'),
            name: 'building',
            meta: {
                title: '未归预警',
                icon: "wgyj",
                desc: "未归预警",
                Auth: "070400"
            }
        },
        {
            path: '/safetyQuery/warningHandle',
            component: () =>
                import ('@/views/safetyQuery/warningHandle/index'),
            name: 'warningHandle',
            meta: {
                title: '预警处理',
                icon: "wgyj",
                desc: "预警处理",
                Auth: "070500"
            }
        }, {
            path: '/safetyQuery/safetyTab',
            component: () =>
                import ('@/views/safetyQuery/safetyTab/index'),
            name: 'safetyTab',
            meta: {
                title: '安全报表',
                icon: "wgyj",
                desc: "安全报表",
                Auth: "070600"
            }
        },
    ]
}

export default safetyQueryRouter